package com.st.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.st.entity.Attractions;
import com.st.entity.PageDTO;
import com.st.entity.PageResult;
import com.st.entity.Result;
import org.springframework.data.domain.jaxb.SpringDataJaxb;


import java.util.List;

public interface IAttractionsService extends IService<Attractions> {
    //查询所有城市
    public List<Attractions> findAll();
    //查询加分页
    PageResult<Attractions> findAttractions(PageDTO<Attractions> pageDTO);

    Result addAttraction(Attractions attractions);

    Result updateAttraction(Attractions attractions);
    //保存热门景点
    public Result saveHot();
}
